package at.fhooe.mcm.logic.event;

import java.io.Serializable;

/**
 * Base class for all kind of game events.
 */
public abstract class Event implements Serializable
{

	/**
	 * 
	 */
	private static final long	serialVersionUID	= -3893083546431940440L;

	public abstract EventType getType();

	public boolean isOfType(EventType type)
	{
		return getType().equals(type);
	}
}
